<template>
  <div class="serviceAuth">
    <ZgEdit
      ref="dialog"
      :view="view"
      :columns="columns"
      :formulas="formulas"
      :validUrl="validUrl"
      :saveUrl="saveUrl"
      @ok="$emit('ok')"
    >
    </ZgEdit>
  </div>
</template>
<script>
export default {
  data() {
    return {
      view: { top: '5%', width: '40%', title: '权限管理' },
      columns: [],
      formulas: [],
      validUrl: '',
      saveUrl: ''
    }
  },
  components: {},
  computed: {},
  methods: {
    open(obj) {
      this.$refs.dialog.open()
    }
  },
  created() {},
  mounted() {}
}
</script>
<style lang="less" scoped></style>
